package com.tzbank.fingerPrint.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;

import org.hibernate.annotations.Table;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "ai_fingerprint_flow_record")
@Table(appliesTo = "ai_fingerprint_flow_record", comment = " ai_fingerPrint操作流水表")
public class FingerPrintFlowRecord  extends BaseModel implements Serializable{
	

	/**
	 * 
	 */
	private static final long serialVersionUID = 8042206446104185774L;

	@ApiModelProperty(value = "操作用户")
	@Column(name = "operating_user", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '操作用户' ")
	private String operatingUser;
	
	@ApiModelProperty(value = "请求来源")
	@Column(name = "request_source", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '请求来源' ")
	private String requesSource;

	@ApiModelProperty(value = "对应接口")
	@Column(name = "corresponding_interface", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '对应接口' ")
	private String correspondingInterface;
	
	@ApiModelProperty(value = "请求参数")
	@Column(name = "request_parameters", columnDefinition = "longtext  DEFAULT NULL COMMENT '请求参数' ")
	private String requestParameters;
	
	@ApiModelProperty(value = "返回结果")
	@Column(name = "response_result", columnDefinition = "longtext  DEFAULT NULL COMMENT '返回结果' ")
	private String responseResult;
	
	@ApiModelProperty(value = "年份")
	@Column(name = "year", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '年份' ")
	private String year;
	
	@ApiModelProperty(value = "月份")
	@Column(name = "month", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '月份' ")
	private String month;
	/**
	 *消费方交易号
	 */
	@ApiModelProperty(value = "消费方交易号")
	@Column(name = "consumer_seq_no", columnDefinition = "varchar(80)  DEFAULT NULL COMMENT '消费方交易号' ")
	private String consumerSeqNo;
	 
	//***新增20180628///////
	/**
	 *位置信息
	 */
	@ApiModelProperty(value = "位置信息")
	@Column(name = "address", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '位置信息' ")
	private String address;
	/**
	 *业务场景
	 */
	@ApiModelProperty(value = "业务场景")
	@Column(name = "business_scenario", columnDefinition = "varchar(8)  DEFAULT NULL COMMENT '业务场景' ")
	private String businessScenario;
}
